let list_fn=async (ctx,next)=>{
    ctx.body='用户列表';
}
let add_fn=async (ctx,next)=>{

}
let edit_fn=async (ctx,next)=>{

}
let delete_fn=async (ctx,next)=>{

}
let details_fn=async (ctx,next)=>{
    ctx.body='用户详情';
}
module.exports={
    '/user/list':['get',list_fn],
    '/user/add':['post',add_fn],
    '/user/edit':['put',edit_fn],
    '/user/delete':['delete',delete_fn],
    '/user/details':['get',details_fn],
}